package com.cjx.stars.constant;

/**
 * @author cjx
 * @description
 * @createDate 2024/3/3 14:04
 **/
public class SystemConstants {
    /**
     * 跨域允许时间
     */
    public static final int CROSS_ORIGIN_ALLOWED_TIME = 3600;
    /**
     * 用户名前缀
     */
    public static final String USERNAME_PREFIX = "星友_";
    /**
     * 分页数据页数
     */
    public static final int PAGE_SIZE = 8;
    /**
     * 最大队伍人数
     */
    public static final int MAXIMUM_TEAM_SIZE = 10;
    /**
     * teamID前缀
     */
    public static final String TEAM_KEY_PREFIX = "teamIdKey";
    /**
     * 管理员编码
     */
    public static final int ADMIN_CODE = 1;
    /**
     * 默认缓冲区大小
     */
    public static final int DEFAULT_BUFFER_SIZE = 1024;
    /**
     * 文件结束
     */
    public static final int FILE_END = -1;
    /**
     * 协议长度
     */
    public static final int PROTOCOL_LENGTH = 8;


}
